<template>
  <div class="apply">
    <Navigation :logoName="logoName" :routeInfo="routeInfo"></Navigation>
    <div class="formContent">
      <ArbitDetail :basicInfo="basicInfo"></ArbitDetail>
        <div>
          <p class="title line arbitline">审核意见</p>
          <div class="verifyForm">
              <Form label-position="right" :label-width="120">
                  <!-- <FormItem label="利息比率核算">
                      <label>{{basicInfo&&basicInfo.interestRatio}}</label>%
                  </FormItem> -->
                  <FormItem label="附件资料正确性">
                      <label>{{basicInfo.secretaryReview&&basicInfo.secretaryReview.attachmentCorrect==1?'确认无误':(basicInfo.secretaryReview&&basicInfo.secretaryReview.attachmentCorrect==0?'资料有误':'')}}</label>
                  </FormItem>
                  <FormItem label="附件资料完整性">
                      <label>{{basicInfo.secretaryReview&&basicInfo.secretaryReview.attachmentComplete==1?'确认完整':(basicInfo.secretaryReview&&basicInfo.secretaryReview.attachmentComplete==0?'资料缺失':'')}}</label>
                  </FormItem>
                  <FormItem label="审核结果">
                      <label>{{basicInfo.secretaryReview&&basicInfo.secretaryReview.isApproval==1?'审核通过':(basicInfo.secretaryReview&&basicInfo.secretaryReview.isApproval==2?'不通过':'')}}</label>
                  </FormItem>
                  <FormItem label="审核意见" v-show="basicInfo.secretaryReview&&basicInfo.secretaryReview.isApproval==2">
                      <label>{{basicInfo.secretaryReview&&basicInfo.secretaryReview.reason}}</label>
                  </FormItem>
                  <FormItem label="适用程序" v-if="basicInfo.secretaryReview&&basicInfo.secretaryReview.isApproval==1">
                      <label>{{basicInfo.secretaryReview&&basicInfo.secretaryReview.applicableProcedure}}</label>
                  </FormItem>
                  <FormItem label="默认程序" v-else-if="basicInfo.secretaryReview&&basicInfo.secretaryReview.isApproval==2">
                      <label>普通程序</label>
                  </FormItem>
                  <!-- <FormItem label="等级">
                      <label>{{basicInfo&&basicInfo.level==1?'A级':'B级'}}</label>
                  </FormItem> -->
              </Form>
          </div>
          
        </div>
        <div class="show">
        <div class="btn-sty">
          <span class="btn btn-apply" @click="back">返回</span>
        </div>
        </div>
      
    </div>
    
  </div>
</template>

<script>
import Navigation from '../common/navigation'
import ArbitDetail from '../common/arbitdetail'
export default {
  name: 'VerifycommissionerDetail',
  data(){
     return {
        logoName:'审核结果',
        routeInfo:'首页/仲裁审核受理/审核结果',
        applyINfo:false,
        unapplyINfo:false,
        unEvidence:false,
        basicInfo:{},
        basicInfos:this.$route.params.caseno,
        evidence:[]
     }
  },
  props: {
    msg: String
  },
  methods:{
    back(){
      this.$router.push('/Syspage/VerifycommissionerIndex')
    },
    unEvidenceM(){
      this.unEvidence=!this.unEvidence;
    },
    detail(){
     
    },
    cancel(){

    },
    handleSubmit () {
      this.$router.push('/Syspage/ApplySecondForm')
    },
    applyIN(){
      this.applyINfo=!this.applyINfo;
    },
    unapplyIN(){
      this.unapplyINfo=!this.unapplyINfo;
    }
  },
  components:{Navigation,ArbitDetail},
  created(){
    this.$http.post('/api'+this.urls.getCaseDetail,{caseNo:this.basicInfos}).then((result)=>{
          if(result.data.code==200){
              this.basicInfo=result.data.data;
          }
    })
  }
  // created(){
  //     this.$http.get('/api'+this.urls.getCaseDetail+this.$route.params.caseno).then((result)=>{
  //         if(result.data.code==200){
  //           this.basicInfo=result.data.data.secretaryCaseDetail;
  //           this.evidence=result.data.data.secretaryCaseDetail.evidence?result.data.data.secretaryCaseDetail.evidence.split(','):[]
  //         }
  //     }) 
  // }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  .show{
    margin:0 20px;
    /* padding-top: 30px; */
  }
  label{
    color:#000;
  }
  
</style>
